services.tailscale.serve.services.<name>.endpoints
Map of incoming traffic patterns to local targets.
Keys should be in the format <protocol>:<port> or <protocol>:<port-range>.
Currently only tcp protocol is supported.
Values should be in the format <protocol>://<host:port> where protocol
is http, https, or tcp.
- Type
attribute set of string- Example
{ "tcp:443" = "https://localhost:443"; "tcp:8080" = "http://localhost:8080"; }- Declared
- <nixpkgs/nixos/modules/services/networking/tailscale-serve.nix>